<%@page import="java.util.Date"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="com.mysql.cj.jdbc.ha.BalanceStrategy"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%request.setCharacterEncoding("UTF-8"); %>
<%@page import="java.sql.*" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>主界面</title>
    <link rel="stylesheet" href="./css/left-nav.css">
    <link rel="stylesheet" href="./css/right-card.css">
    <link rel="stylesheet" href="./css/balance.css">
    <link rel="stylesheet" href="./css/common.css">
    <style type="text/css">
    	.right .right_card {
    		background: url(https://images-1300275660.cos.ap-shanghai.myqcloud.com/%E5%9C%B0%E7%90%83.jpg) no-repeat center;
		    background-color: rgb(46,45,62);
		    opacity:0.8;
		    background-size:cover;
		    border-radius: 20px;
		}
    </style>
</head>
<body>
<!--  -->
<!-- 左侧导航 -->
    <div class="left_nav" id="nav_left">
        <div class="head clearfix">
            <div class="head_icon"></div>
            <div class="head_word"><a href="home.jsp">返回首页</a></div>
        </div>
        <ul>
            <li>
                <span class="second_icon"></span>
                余额计算
            </li>
            
        </ul>
    </div>

    <!-- 右侧内容 -->
    <div class="right">
        <div class="right_card">

            <ul id="content_right">                

                <li class="item balance" id="balanceMoney">                	
                    <div class="title">余额计算</div>
                    	<jsp:useBean id="calculate" scope="session" class="wacai.Accounting" />
                    	<jsp:setProperty property="*" name="calculate"/>
                    	<div class="result">
                    		<%out.print(calculate.calculateMoney());%>
                    	</div>                  		
                </li>
                
            </ul>
        </div>
    </div>
</body>
<script type="text/javascript">
	window.onload = function(){
		document.getElementById("balanceMoney").style.display = "block";
	}
</script>
</html>